package com.neusoft.neuiotms.dcom.repository.incident;

import java.util.List;

import org.springframework.data.jpa.repository.JpaRepository;

import com.neusoft.neuiotms.dcom.model.incident.IncidentHandleAttachment;

public interface IncidentHandleAttachmentRepository extends JpaRepository<IncidentHandleAttachment, Long> {

    List<IncidentHandleAttachment> findByFsId(String fsId);

    List<IncidentHandleAttachment> findByFsIdIn(List<String> fsIds);

    List<IncidentHandleAttachment> findByIncidentHandleId(Long id);

    void deleteByFsId(String fsId);
}
